<% @board = edit_board %>
<tr class="<%= (counter % 2) == 0 ? "odd" : "even" %>_row">
  <td class="title_restricted_column">
    <div class="table_board_title">
      <span class="table_board_title">
        <%= in_place_editor_field :board, :title, 
                {}, {:url=>{:controller=>:board,
                            :action=>"set_board_title",
                            :id=>edit_board.id}}  %>
      </span>
    </div>
    <div class="table_board_info">
      <%= in_place_editor_field :board, :description, 
              {}, {:url=>{:controller=>:board,
                          :action=>"set_board_description",
                          :id=>edit_board.id}}  %>
    </div>
  </td>
  <td>
    <%= in_place_collection_editor_field :board, :section,
              @sections.collect{|rec| [rec.title, rec.id] }, {},
              :url=>{:controller=>:board,
                          :action=>"set_board_section",
                          :id=>edit_board.id}
              %>    
  </td>
  <td>
    <%= link_to_remote 'Destroy', 
            :url => { :action => "destroy", :id => edit_board.id },
            :complete => "eval(request.responseText)",
            :confirm => 'Are you sure?', :method => :post %>
  </td>
</tr>
